#ifndef HELPER_H
#define HELPER_H

#include <QtCore>


enum ProductType {
    AIRCOND,
    BACKPACK,
    BATH_LOTION,
    BED,
    BOTTLED_MILK,
    BREAD,
    CAKES,
    CAMERA,
    CAMERA_FILM,
    CANNED_CORN,
    CANNED_SOUP,
    CAR,
    CHAIR,
    CHEWING_GUM,
    CHOCOLATE_BAR,
    CIGARETTES,
    CIGARS,
    COLA,
    COLD_TABLET,
    COOKIES,
    CORN_FLAKES,
    COUGH_SYRUP,
    DESKTOP_COMPUTER,
    DETERGENT,
    EGGS,
    ELEGANT_WATCH,
    EYE_SHADOW,
    FROZEN_BEEF,
    FROZEN_CHICKEN,
    FROZEN_LAMB,
    FROZEN_PORK,
    FRUIT_SNACKS,
    GOLD_RING,
    GOLF_CLUBS,
    GRAPE_JUICE,
    HAIR_COLOR,
    HANDHELD_GAME_DEVICE,
    HEADACHE_PILLS,
    HI_FI,
    ICE_CREAM,
    IN_LINE_SKATES,
    JEANS,
    LEATHER_BAG,
    LEATHER_BELT,
    LEATHER_BRIEFCASE,
    LEATHER_JACKET,
    LEATHER_WALLET,
    LIPSTICK,
    MEDIA_PLAYER,
    MP3_PLAYER,
    MICROWAVE,
    MOBILE_PHONE,
    MOTORCYCLE,
    NOTEBOOK_COMPUTER,
    PERFUME,
    PRINTER,
    SANDALS,
    SHAMPOO,
    SHOES,
    SILVER_NECKLACE,
    SOAP,
    SOCKS,
    SOFA,
    SPORT_SHOES,
    SPORT_WATCH,
    SWEATER,
    TABLET_COMPUTER,
    TELEVISION,
    TOILET_CLEANER,
    TOOTHPASTE,
    TOY_RACING_CAR,
    VIDEO_CAMERA,
    VIDEO_GAME_CONSOLE,
    VIDEO_RECORDER,
    WINE,
    YOGURT,
    // SemiProductType
    CITRIC_ACID,
    CAR_BODY,
    COCONUT_OIL,
    CORN_SYRUP,
    CPU,
    DYESTUFF,
    ELECTRONIC_COMP,
    ENGINE,
    FLOUR,
    GLASS,
    LINEN,
    PAPER,
    PLASTIC,
    POLYSTER,
    SILICON,
    STEEL,
    TEXTILES,
    WHEAT,
    WHEEL_TIRE

};

enum ProductClass {
    APPAREL,
    AUTOMOBILE,
    BATH_SUPPLY,
    CHEMICAL_PRODUCT,
    BEVERAGE,
    COMPUTER,
    COSMETIC,
    DESSERT,
    DRUGS,
    ELECTRONIC,
    FOOD,
    FOOTWEAR,
    FURNITURE,
    JEWELLERY,
    LEATHER,
    PHOTOGRAPHY,
    SEMI_PRODUCT,
    SNACKS,
    SPORT_EQUIP,
    TOBACCO,
    TOY_VIDEO_GAME,
    WATCH,
    FARM

};

extern int Random(int Min, int Max);
extern quint16 GetProductClassEnum(QString a_strProductClass);
extern quint16 GetProductTypeEnum(QString a_strProductType);


#endif // HELPER_H